package com.njtoyo.taxi.admin.mapper.master.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.njtoyo.taxi.admin.mapper.master.enums.CustomerLogoutLogState;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 乘客注销记录表
 * </p>
 *
 * @author Dell
 * @since 2021-09-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CustomerLogoutLog对象", description="乘客注销记录表")
public class CustomerLogoutLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "乘客Id")
    private Long customerId;

    @ApiModelProperty(value = "注销原因")
    private String logoutReason;

    @ApiModelProperty(value = "状态 0:processing[审核中],1:reject[拒绝注销],2:adopt[已注销],3:reactivate[再次激活]")
    private CustomerLogoutLogState logoutState;

    @ApiModelProperty(value = "申请注销的时间")
    private Long applyTimestamp;

    @ApiModelProperty(value = "注销通过的时间")
    private Long adoptTimestamp;

    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    @ApiModelProperty(value = "修改时间")
    private Date updatedAt;
}
